<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/views/common/taglib.jsp"%>
<link rel="stylesheet" type="text/css" href="/resources/css/style.css" />

<div class="easyui-layout" fit="true"> 
	<div data-options="region:'center',border:false">
		<div class="pd10">
			<div class="tableform">
				<form id="industryForm" method="post">
					<input type="hidden" name="industryId" id="industryId" value="${industry.industryId}" />
					<table cellspacing="0" cellpadding="0">
						<tr>
							<th width="80px;">
								<font color="red">*</font>频道名称：
							</th>
							<td>
								<select id="channelId" name="channelId" style="width: 280px; height: 25px;">
									<option value="">请选择...</option>
									<c:forEach items="${channelList}" var="channel">
										<option value="${channel.channelId}" <c:if test="${channel.channelId == channelId}">selected="selected"</c:if>>${channel.channelName}</option>
									</c:forEach>
								</select>
							</td>
						</tr>
						<tr>
							<th width="80px;">
								<font color="red">*</font>行业名称：
							</th>
							<td>
								<input type="text" class="easyui-validatebox" style="width: 280px; height: 25px;" name="industryName" 
									id="industryName" data-options="required:true" value="${industry.industryName}"/>
							</td>
						</tr>
						<tr>
							<th width="80px;">
								<font color="red">*</font>生命周期：
							</th>
							<td>
								<input type="text" class="easyui-numberbox" style="width: 280px; height: 25px;" name="industryLife" 
									id="industryLife" data-options="required:true" value="${industry.industryLife}"/>
							</td>
						</tr>
					</table>
				</form>
			</div>
		</div>
	</div>
    <!--start：button区域-->
    <div region="south" style="height:36px;overflow:hidden;" border="false">
        <div class="WinBtnBody pdt5">
            <table align="center"border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td>
                        <a href="javascript:void(0)" onclick="javascript:EditIndustry.saveIndustryInfo();" class="easyui-linkbutton" plain="true" iconCls="add">保存</a>
                        <a href="javascript:void(0)" onclick="javascript:Ict.closeWin()" class="easyui-linkbutton" plain="true" iconCls="remove">关闭</a>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <!--end：button区域-->
</div>

<!-- ==================页面操作JS================ -->
<script type="text/javascript" src="/resources/js/pc/industry/edit.js"></script>